package org.coding.springclouddemoadminclient.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @auth guoxh
 * @date 2020/10/14 9:29 下午
 * @desc
 **/
@RestController
public class HomeController {

    @GetMapping(value = {"/","/index"})
    public Object index(HttpServletRequest request, HttpServletResponse response){
        return "SUCCESS";
    }
}
